package com.uam.core.business.help;

import com.uam.core.vo.CoordinateSegment;
import lombok.Data;
import org.locationtech.jts.geom.Coordinate;

@Data
public class IntersectinInfo {

    private CoordinateSegment sourceP0;
    private CoordinateSegment sourceP1;


    private CoordinateSegment targetP0;
    private CoordinateSegment targetP1;

    private String timeKey;

    private Coordinate coordinate;

    public IntersectinInfo(CoordinateSegment sourceP0, CoordinateSegment sourceP1, CoordinateSegment targetP0, CoordinateSegment targetP1, String timeKey,Coordinate  coordinate) {
        this.sourceP0 = sourceP0;
        this.sourceP1 = sourceP1;
        this.targetP0 = targetP0;
        this.targetP1 = targetP1;
        this.timeKey = timeKey;
        this.coordinate=coordinate;
    }

    public IntersectinInfo() {
    }
}
